from fastapi import APIRouter

router = APIRouter()


@router.get("/types", summary="获取字典类型列表")
async def get_dict_types():
    """分页获取字典类型列表"""
    pass


@router.post("/types", summary="创建字典类型")
async def create_dict_type():
    """创建字典类型"""
    pass


@router.put("/types/{dict_id}", summary="更新字典类型")
async def update_dict_type():
    """更新字典类型"""
    pass


@router.delete("/types/{dict_id}", summary="删除字典类型")
async def delete_dict_type():
    """删除字典类型"""
    pass


@router.get("/data", summary="获取字典数据列表")
async def get_dict_data():
    """分页获取字典数据列表"""
    pass


@router.post("/data", summary="创建字典数据")
async def create_dict_data():
    """创建字典数据"""
    pass


@router.put("/data/{data_id}", summary="更新字典数据")
async def update_dict_data():
    """更新字典数据"""
    pass


@router.delete("/data/{data_id}", summary="删除字典数据")
async def delete_dict_data():
    """删除字典数据"""
    pass


@router.get("/data/type/{dict_type}", summary="根据类型获取字典数据")
async def get_dict_data_by_type():
    """根据字典类型获取字典数据"""
    pass